package org.jeecg.modules.smg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: smg_user
 * @Author: jeecg-boot
 * @Date:   2020-12-03
 * @Version: V1.0
 */
@Data
@TableName("smg_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smg_user对象", description="smg_user")
public class SmgUser implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**登录账号*/
	@Excel(name = "登录账号", width = 15)
    @ApiModelProperty(value = "登录账号")
    private java.lang.String account;
	/**登录密码*/
	@Excel(name = "登录密码", width = 15)
    @ApiModelProperty(value = "登录密码")
    private java.lang.String password;
	/**显示名字*/
	@Excel(name = "显示名字", width = 15)
    @ApiModelProperty(value = "显示名字")
    private java.lang.String username;
	/**工种/岗位*/
	@Excel(name = "工种/岗位", width = 15)
    @ApiModelProperty(value = "工种/岗位")
    private java.lang.String station;
	/**上级主管*/
	@Excel(name = "上级主管", width = 15)
    @ApiModelProperty(value = "上级主管")
    private java.lang.String leader;
	/**有审核权限*/
	@Excel(name = "有审核权限", width = 15, dicCode = "yes_no")
	@Dict(dicCode = "yes_no")
    @ApiModelProperty(value = "有审核权限")
    private java.lang.String authority;
	/**账号类别*/

    @Dict(dicCode = "smg_type")
	@Excel(name = "账号类别", width = 15,dicCode = "smg_type")
    @ApiModelProperty(value = "账号类别")
    private java.lang.String type;
}
